package com.bw.service;

import com.bw.bean.Orderinfo;
import com.bw.mapper.WeekMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class WeekServiceImp implements WeekService{
   @Autowired
   WeekMapper weekMapper;

    @Override
    public int addBatch(List<Orderinfo> orders) {
        return weekMapper.addBatch(orders);
    }

    @Override
    public int delBatch(List<Integer> ids) {
        return weekMapper.delBatch(ids);
    }

    @Override
    public List<Map> findLike(String status) {
        return weekMapper.findLike(status);
    }

    @Override
    public List<Map> findwei(String qq) {
        return weekMapper.findwei(qq);
    }

    @Override
    public List<Map> findmax() {
        return weekMapper.findmax();
    }

    @Override
    public List<Map> findzong() {
        return weekMapper.findzong();
    }

    @Override
    public List<Map> findcha() {
        return weekMapper.findcha();
    }

    @Override
    public List<Map> findkai() {
        return weekMapper.findkai();
    }


}
